package com.example.jetpack_databinding.main3

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.example.jetpack_databinding.R
import com.example.jetpack_databinding.databinding.ActivityMain3Binding

class MainActivity3 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main3)
        val activityMain3Bind =
            DataBindingUtil.setContentView<ActivityMain3Binding>(this, R.layout.activity_main3)
        activityMain3Bind.networkImage="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.16pic.com%2F00%2F88%2F44%2F16pic_8844212_s.jpg&refer=http%3A%2F%2Fimg.16pic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1630825749&t=205a8b579b4916705c7014aee75ee141"
        activityMain3Bind.localImage= R.drawable.img1
    }
}